Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies (major) (major) #417

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 10, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sindresorhus/slugify 1.1.2 -> 2.2.1 age adoption passing confidence
chalk 4.1.2 -> 5.4.0 age adoption passing confidence
execa 5.1.1 -> 9.5.2 age adoption passing confidence
husky 7.0.4 -> 9.1.7 age adoption passing confidence
is-ci 3.0.1 -> 4.1.0 age adoption passing confidence
node-fetch 2.7.0 -> 3.3.2 age adoption passing confidence
prettier (source) 2.8.8 -> 3.4.2 age adoption passing confidence
typescript (source) 4.9.5 -> 5.7.2 age adoption passing confidence

Release Notes

sindresorhus/slugify (@​sindresorhus/slugify)

v2.2.1

Compare Source

  • Improve compatibility with partial strings

v2.2.0

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

v2.0.0

Compare Source

Breaking
  • Require Node.js 12 12498c9
  • This package is now pure ESM. Please read this.
  • slugify.counter moved to a named export slugifyWithCounter
chalk/chalk (chalk)

v5.4.0

Compare Source

  • Update CIRCLECI environments to return level 3 color support f838120

v5.3.0

Compare Source

v5.2.0

Compare Source

v5.1.2

Compare Source

v5.1.1

Compare Source

  • Improved the names of exports introduced in 5.1.0 (#​567) 6e0df05
    • We of course preserved the old names.

v5.1.0

Compare Source

v5.0.1

Compare Source

  • Add main field to package.json for backwards compatibility with some developer tools 85f7e96

v5.0.0

Compare Source

Breaking
  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you need to use TypeScript 4.7 or later. Why.
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
    • The Chalk issue tracker is not a support channel for your favorite build/bundler tool.
    • It's totally fine to stay on Chalk v4. It's been stable for years.
  • Require Node.js 12.20 fa16f4e
  • Move some properties off the default export to individual named exports:
    • chalk.InstanceChalk
    • chalk.supportsColorsupportsColor
    • chalk.stderrchalkStderr
    • chalk.stderr.supportsColorsupportsColorStderr
  • Remove .keyword(), .hsl(), .hsv(), .hwb(), and .ansi() coloring methods (#​433) 4cf2e40
    • These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the color-convert package.
  • The tagged template literal support moved into a separate package: chalk-template (#​524) c987c61
-import chalk from 'chalk';
+import chalkTemplate from 'chalk-template';

-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;
Improvements
sindresorhus/execa (execa)

v9.5.2

Compare Source

Bug fixes

v9.5.1

Compare Source

Bug fixes

v9.5.0

Compare Source

Features

await execa({stdout: {file: 'output.txt', append: true}})`npm run build`;

v9.4.1

Compare Source

Bug fixes

v9.4.0

Compare Source

Features

  • We've created a separate package called nano-spawn. It is similar to Execa but with fewer features, for a much smaller package size. More info.

Bug fixes

Documentation

v9.3.1

Compare Source

v9.3.0

Compare Source

Features

v9.2.0

Compare Source

This release includes a new set of methods to exchange messages between the current process and a Node.js subprocess, also known as "IPC". This allows passing and returning almost any message type to/from a Node.js subprocess. Also, debugging IPC is now much easier.

Moreover, a new gracefulCancel option has also been added to terminate a subprocess gracefully.

For a deeper dive-in, please check and share the release post!

Thanks @​iiroj for your contribution, @​SimonSiefke and @​adymorz for reporting the bugs fixed in this release, and @​karlhorky for improving the documentation!

Deprecations

  • Passing 'ipc' to the stdio option has been deprecated. It will be removed in the next major release. Instead, the ipc: true option should be used. (#​1056)
- await execa('npm', ['run', 'build'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']});
+ await execa('npm', ['run', 'build'], {ipc: true});
- import {execaCommand} from 'execa';
+ import {execa} from 'execa';

- await execaCommand('npm run build');
+ await execa`npm run build`;

const taskName = 'build';
- await execaCommand(`npm run ${taskName}`);
+ await execa`npm run ${taskName}`;

const commandArguments = ['run', 'task with space'];
await execa`npm ${commandArguments}`;

If the file and/or multiple arguments are supplied as a single string, parseCommandString(command) can split that string into an array. More info. (#​1054)

- import {execaCommand} from 'execa';
+ import {execa, parseCommandString} from 'execa';

const commandString = 'npm run task';
- await execaCommand(commandString);
+ const commandArray = parseCommandString(commandString); // ['npm', 'run', 'task']
+ await execa`${commandArray}`;

// Or alternatively:
const [file, ...commandArguments] = commandArray;
await execa(file, commandArguments);

Features

Types

Bug fixes

v9.1.0

Compare Source

Features (types)

v9.0.2

Compare Source

Bug fixes (types)

v9.0.1

Compare Source

Bug fixes (types)

v9.0.0

Compare Source

This major release brings many important features including:

Please check the release post for a high-level overview! For the full list of breaking changes, features and bug fixes, please read below.

Thanks @​younggglcy, @​koshic, @​am0o0 and @​codesmith-emmy for your help!


One of the maintainers @​ehmicky is looking for a remote full-time position. Specialized in Node.js back-ends and CLIs, he led Netlify Build, Plugins and Configuration for 2.5 years. Feel free to contact him on his website or on LinkedIn!


Breaking changes

const {stdout} = await execa('node', ['file.js'], {encoding: 'buffer'});
console.log(stdout); // This is now an Uint8Array
- await execa('node', ['file.js'], {encoding: null});
+ await execa('node', ['file.js'], {encoding: 'buffer'});

- await execa('node', ['file.js'], {encoding: 'utf-8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'UTF8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'utf-16le'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs-2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'binary'});
+ await execa('node', ['file.js'], {encoding: 'latin1'});
  • Passing a file path to subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() has been removed. Instead, a {file: './path'} object should be passed to the stdout or stderr option. (#​752)
- await execa('node', ['file.js']).pipeStdout('output.txt');
+ await execa('node', ['file.js'], {stdout: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeStderr('output.txt');
+ await execa('node', ['file.js'], {stderr: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeAll('output.txt');
+ await execa('node', ['file.js'], {
+	stdout: {file: 'output.txt'},
+	stderr: {file: 'output.txt'},
+});
- await execa('node', ['file.js']).pipeStdout(stream);
+ await execa('node', ['file.js'], {stdout: ['pipe', stream]});

- await execa('node', ['file.js']).pipeStderr(stream);
+ await execa('node', ['file.js'], {stderr: ['pipe', stream]});

- await execa('node', ['file.js']).pipeAll(stream);
+ await execa('node', ['file.js'], {
+	stdout: ['pipe', stream],
+	stderr: ['pipe', stream],
+});
  • The subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() methods have been renamed to subprocess.pipe(). The command and its arguments can be passed to subprocess.pipe() directly, without calling execa() a second time. The from piping option can specify 'stdout' (the default value), 'stderr' or 'all'. (#​757)
- await execa('node', ['file.js']).pipeStdout(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js']);

- await execa('node', ['file.js']).pipeStderr(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'stderr'});

- await execa('node', ['file.js']).pipeAll(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'all'});
- await execa('node', ['file.js'], {signal: abortController.signal});
+ await execa('node', ['file.js'], {cancelSignal: abortController.signal});
try {
	await execa('node', ['file.js']);
} catch (error) {
- if (error.killed) {
+ if (error.isTerminated) {
		// ...
	}
}
- subprocess.cancel();
+ subprocess.kill();
- const subprocess = execa('node', ['file.js']);
- subprocess.kill('SIGTERM', {forceKillAfterTimeout: 1000});
+ const subprocess = execa('node', ['file.js'], {forceKillAfterDelay: 1000});
+ subprocess.kill('SIGTERM');
  • The verbose option is now a string enum instead of a boolean. false has been renamed to 'none' and true has been renamed to 'short'. (#​884)
- await execa('node', ['file.js'], {verbose: false});
+ await execa('node', ['file.js'], {verbose: 'none'});

- await execa('node', ['file.js'], {verbose: true});
+ await execa('node', ['file.js'], {verbose: 'short'});
- await execa('node', ['file.js'], {execPath: './path/to/node'});
+ await execa('node', ['file.js'], {nodePath: './path/to/node'});
- subprocess.send({example: true, getExample() {}});
+ subprocess.send({example: true});
const subprocess = execa('node', ['file.js']);
- setTimeout(() => {
	subprocess.stdout.pipe(process.stdout);
- }, 0);
- const subprocess = execa('node', ['file.js'], {killSignal: 'sigterm'});
+ const subprocess = execa('node', ['file.js'], {killSignal: 'SIGTERM'});

- subprocess.kill('sigterm');
+ subprocess.kill('SIGTERM');

Features

Execution
Text lines
Piping multiple subprocesses
Input/output
Streams
Verbose mode
Debugging
Errors
Termination
Node.js files
Synchronous execution
Inter-process communication

Configuration

📅 Schedule: Branch creation - "before 8am on Wednesday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested review from Jolg42, millsp and aqrln as code owners August 10, 2022 01:27
@renovate renovate bot changed the title chore(deps): update dependencies (major) to v2 (major) chore(deps): update dependencies (major) (major) Aug 10, 2022
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from bcde24f to c94b05a Compare August 24, 2022 06:45
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from c94b05a to dd46f4a Compare September 7, 2022 07:47
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 3 times, most recently from d6d30b2 to 3736e6f Compare September 29, 2022 08:21
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 4 times, most recently from 0666dff to c6b8cc9 Compare October 12, 2022 07:30
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 82671fe to 254aaf1 Compare October 12, 2022 17:50
Jolg42

This comment was marked as outdated.

@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 254aaf1 to 8f82419 Compare October 26, 2022 13:10
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from ab732aa to 8f50102 Compare November 10, 2022 23:00
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 8f50102 to b3d2cea Compare November 23, 2022 08:59
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from d3eb6bc to dcc7e4a Compare December 14, 2022 15:28
@renovate renovate bot changed the title chore(deps): update dependencies (major) (major) Update dependencies (major) (major) Dec 17, 2022
@renovate renovate bot changed the title Update dependencies (major) (major) chore(deps): update dependencies (major) (major) Dec 17, 2022
@renovate renovate bot changed the title chore(deps): update dependencies (major) (major) Update dependencies (major) (major) Dec 19, 2022
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from dcc7e4a to 1ad8453 Compare January 3, 2023 09:35
@renovate renovate bot changed the title Update dependencies (major) (major) chore(deps): update dependencies (major) (major) Jan 4, 2023
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 18d9e15 to 8ebdfd1 Compare January 18, 2023 08:08
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 0a852c2 to eb923d9 Compare July 1, 2024 21:34
@renovate renovate bot changed the title chore(deps): update dependencies (major) (major) Update dependencies (major) (major) Jul 10, 2024
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 4 times, most recently from d94b15f to d75c975 Compare July 18, 2024 16:23
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 4 times, most recently from f0232b9 to 1cbcb2e Compare July 29, 2024 15:39
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 63cb6d6 to 5482cac Compare August 20, 2024 13:33
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 1ee9648 to 03f0505 Compare September 11, 2024 23:01
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 03f0505 to 3291eb8 Compare September 17, 2024 00:46
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 3291eb8 to c866e65 Compare October 9, 2024 00:19
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from c866e65 to ab1126d Compare October 16, 2024 20:32
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 131462b to 2196c11 Compare October 29, 2024 08:01
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 2 times, most recently from 5a09675 to ee72a6a Compare November 22, 2024 19:16
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 4 times, most recently from c1b6db7 to 07e7e43 Compare November 30, 2024 13:58
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch 3 times, most recently from 32b630f to 4234bc4 Compare December 8, 2024 09:03
@renovate renovate bot force-pushed the renovate/major-dependencies-(major) branch from 4234bc4 to f8357f0 Compare December 18, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech/typescript Issue for tech TypeScript. topic: tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant